package it.test.thread.simple;

public class ThreadCreateOne extends Thread {
    @Override
    public void run() {
        for (int i = 0; i <= 9; i++) {
            System.out.println("线程名:" + getName() + " 通过继承Thread创建线程--第" + i + "次");
        }
    }
}
